Imports Microsoft.ManagementConsole
Imports System.ComponentModel
Imports System
Imports System.Security.Permissions

Public Class MMCFormView
  Inherits FormView

  Private _myControl As MMCUserControl_ALM = Nothing

  Public ReadOnly Property MyControl() As MMCUserControl_ALM
    Get
      Return Me._myControl
    End Get
  End Property

  Public Sub New()
  End Sub

  Protected Overrides Sub OnInitialize(ByVal status As Microsoft.ManagementConsole.AsyncStatus)
    MyBase.OnInitialize(status)
    Me._myControl = CType(Me.Control, MMCUserControl_ALM)
    Me._myControl.Dock = Windows.Forms.DockStyle.Fill
  End Sub

End Class
